﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="CaptchaCtrl.ascx.cs" Inherits="CaptchaCtrl" %>
<asp:UpdatePanel ID="UpdatePanel12" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<style type="text/css">
.Captcha
{
    background-image: url(Captcha.aspx?a=<%=DateTime.Now.Ticks%>);
    background-repeat:no-repeat;
    background-position:right;
}
</style>
<table cellpadding="0" cellspacing="0">
    <tr>
        <td>
            <asp:TextBox ID="txtCaptcha" runat="server" Width="150px" Height="25px" CssClass="Captcha"></asp:TextBox>
            <%--<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*" ControlToValidate="txtCaptcha"></asp:RequiredFieldValidator>--%>
            &nbsp;<span class="chuthich">(phân biệt chữ hoa - chữ thường ) </span></td>
        <td width="24">
            <asp:ImageButton ID="btnRefresh" runat="server" 
                ImageUrl="~/img/Refresh.png" onclick="btnRefresh_Click" />
        </td>
    </tr>
</table>
<asp:Label Visible="false" ID="lblError" runat="server" Text="Chuỗi xác nhận không đúng hoặc rỗng!" CssClass="chuthich"></asp:Label>
</ContentTemplate>
</asp:UpdatePanel>